<div class="row"><h3 class="page-header">教学仪器设备添加<small>/添加</small></h3></div>
<div class="row">
	<div class="panel panel-default">
		<div class="panel-body">
			<form role="form"  id="myform" method="post" class="form-horizontal">
				<div class="form-group">
					<label class="col-sm-3 control-label">设备名称：<span class="c-red">*</span></label>
					<div class="col-sm-4">
						<input class="form-control required" name="name" value="{$info.name}" maxlength="100">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">设备编号：<span class="c-red">*</span></label>
					<div class="col-sm-4">
						<input class="form-control required" name="number" value="{$info.number}" maxlength="100">
					</div>
				</div>
				<div class="form-group">
                        <label class="col-sm-3 control-label">单位：<span class="c-red">*</span></label>
                        <div class="col-sm-4">
                            <select class="form-control" name="unit">
                                <volist name='unitList' id='unit'>
                                    <option value="{$unit}"<eq name='unitList.unit' value='$info.unit'> selected </eq> >{$unit}</option>
                                </volist>
                            </select>
                        </div>
                    </div>
				<!-- <div class="form-group">
					<label class="col-sm-3 control-label">仓库：<span class="c-red">*</span></label>
					<div class="col-sm-4">
				                       <select class="form-control" name="cangku">
				                         <volist name='list_cke' id='list_ck'>
				                           <option value="{$list_ck.id}"> 
				                             {$list_ck.name}
				                           </option>
				                         </volist>
				                       </select>
					</div>
				</div> -->

				<div class="form-group">
			        <label class="col-sm-3 control-label">更新人：</label>
			        <div class="col-sm-4">
			         	<input class="form-control" name="people" readonly value="<empty name='info.people'>{$Think.session.adminInfo.name}<else/>{$info.people}</empty>">
			        </div>
			    </div>
		        <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-5">
				        <button class="btn btn-primary" type="submit">保存</button>
				       	<a href="{:U('Yqgl/yqk')}"><button class=" btn btn-default" type="button">返回</button></a>
			       	</div>	
		       	</div>
			</form>
		</div>
	</div>
</div>